package cn.edu.scau.cmi.lijinzhao.comprehensive;


public class Score {
    String num;
    String name;
    String course;
    String teacher;
    String Class;
    double attendanceScore,testScore,homeworkScore,finalScore,totalScore	;
	
    public Score(){
		
	}
	public void setNum(String num) {
		this.num = num;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setCourse(String course) {
		this.course = course;
	}
	
	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}
	
	public void setClass(String Class) {
		this.Class = Class;
	}
	
	//
	public void setattendanceScore(double attendanceScore) {
		this.attendanceScore = attendanceScore;
	}
	public void settestScore(double testScore) {
		this.testScore = testScore;
	}
	public void sethomeworkScore(double homeworkScore) {
		this.homeworkScore = homeworkScore;
	}
	public void setfinalScore(double finalScore) {
		this.finalScore = finalScore;
	}
	public void settotalScore(double totalScore) {
		this.totalScore = totalScore;
	}
	public void getScore() {
		 totalScore=attendanceScore+testScore+homeworkScore+finalScore;
	}//计算成绩
	
	//计算

}
